package com.jyh.blog.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TalkVO {

    /**
     * 说说id
     */
    private String id;

    /**
     * 说说内容
     */
    @NotBlank(message = "说说内容不能为空")
    private String content;

    /**
     * 图片
     */
    private String images;

    /**
     * 是否置顶
     */
    @NotNull(message = "置顶状态不能为空")
    private Integer isTop;

    /**
     * 说说状态 1.公开 2.私密
     */
    @NotNull(message = "说说状态不能为空")
    private Integer status;

}